package com.example.dbmysql.service;


import com.example.dbmysql.pojo.Buildings;

import java.util.List;

public interface BuildingsService {
      // id查询
      Buildings findBuildingsById(Integer id);

      // 新增楼栋
      void add(Buildings buildings);

      // 楼栋查询
      Buildings findBuildingsByBon(String bon);

      Buildings updata(Buildings buildings);

      List<Buildings> getAll(int page,int pageSize);

      void delbuilingsByid(Integer id);
}
